﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Web.Configuration;

namespace Axe.Web.Controls.Configuration
{
    public class AxeControlsConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("wiki")]
        public WikiConfiguration WikiControlConfiguration
        {
            get { return (WikiConfiguration)this["wiki"]; }
            set { this["wiki"] = value; }
        }

        public static AxeControlsConfigurationSection Configuration
        {
            get
            {
                return (AxeControlsConfigurationSection)
                    WebConfigurationManager.GetSection("axeControls");
            }
        }
    }
}
